Skip to content

chore: setup release workflow#27

Merged
chenjiahan merged 1 commit intomainfrom
release_workflow_0315
Mar 15, 2026
Merged

chore: setup release workflow#27
chenjiahan merged 1 commit intomainfrom
release_workflow_0315

Conversation

@chenjiahan
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings March 15, 2026 12:47
@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on refining the project's development and release infrastructure. It involves a significant cleanup of unused dependencies and the introduction of a dedicated script for version bumping, which collectively aim to simplify future maintenance and release cycles. Additionally, many existing dependencies have been updated to ensure the project benefits from the latest stability and features.

Highlights

  • Dependency Cleanup: Removed several unused development dependencies and their associated entries from package.json and pnpm-lock.yaml, streamlining the project's dependency tree.
  • Release Workflow Enhancement: Introduced a new bump script in package.json utilizing npx bumpp to facilitate version management and release processes.
  • Dependency Updates: Updated numerous project dependencies across various categories, including cspell dictionaries, Fastify-related packages, and other core utilities, to their latest patch and minor versions.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • package.json
    • Removed 'clean', 'fix', and 'fix:prettier' scripts.
    • Added a new 'bump' script using 'npx bumpp'.
    • Removed 'del-cli' from devDependencies.
  • pnpm-lock.yaml
    • Removed numerous unused dependencies and their related entries, including 'del-cli', '@nodelib/fs.scandir', 'braces', 'fast-glob', 'globby', 'ignore', 'is-glob', 'meow', 'micromatch', 'p-map', 'path-type', 'picomatch@2.3.1', 'presentable-error', 'queue-microtask', 'run-parallel', 'slash', 'to-regex-range', and 'unicorn-magic'.
    • Updated various cspell dictionary packages to newer versions.
    • Updated '@emnapi/core', '@emnapi/runtime', and '@emnapi/wasi-threads' to version 1.9.0.
    • Updated 'hono' to version 4.12.8.
    • Updated '@types/node' to version 22.19.15.
    • Updated '@types/qs' to version 6.15.0.
    • Updated 'avvio' to version 9.2.0.
    • Updated 'baseline-browser-mapping' to version 2.10.8.
    • Updated 'caniuse-lite' to version 1.0.30001779.
    • Updated 'comment-json' to version 4.6.2.
    • Updated 'electron-to-chromium' to version 1.5.313.
    • Updated 'fast-json-stringify' to version 6.3.0.
    • Updated 'find-my-way' to version 9.5.0.
    • Updated 'flatted' to version 3.4.1.
    • Updated 'minimatch' to version 3.1.5.
    • Updated 'node-releases' to version 2.0.36.
    • Updated 'pino' to version 10.3.1.
    • Updated 'safe-regex2' to version 5.1.0.
    • Updated 'sonic-boom' to version 4.2.1.
    • Updated 'spdx-license-ids' to version 3.0.23.
    • Updated 'terser-webpack-plugin' to version 5.4.0.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/release.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request sets up a release workflow by adding a bump script using bumpp and updating dependencies. My feedback focuses on improving the maintainability of the new script.

@chenjiahan chenjiahan merged commit fbd0632 into main Mar 15, 2026
7 checks passed
@chenjiahan chenjiahan deleted the release_workflow_0315 branch March 15, 2026 12:49
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2a350a4a98

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

- name: Publish
uses: JS-DevTools/npm-publish@v4
with:
token: empty

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Provide a real npm token to the publish action

In the new release workflow, the publish step passes the literal string empty as the auth token, so tagged releases will try to publish to npm with invalid credentials and fail with an authentication error. Use a real secret-backed token (for example secrets.NPM_TOKEN) or the action’s documented trusted-publishing configuration instead of a hardcoded placeholder.

Useful? React with 👍 / 👎.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an automated release pipeline intended to publish the package to npm and create a GitHub release when a v* tag is pushed, along with related package/script adjustments.

Changes:

  • Added a new GitHub Actions workflow to publish on tag pushes and create GitHub releases.
  • Updated package.json scripts (removed clean/fix*, added bump) and removed del-cli.
  • Updated pnpm-lock.yaml to reflect dependency updates/removals.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/release.yml Introduces the release/publish workflow triggered by version tags.
package.json Adjusts scripts for release/version bumping and removes del-cli.
pnpm-lock.yaml Locks updated dependency graph after script/dependency changes.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +5 to +6
# Run `npm run bump` to bump the version and create a git tag.
push:
Comment on lines 30 to 33
"test": "rstest",
"test:watch": "rstest -w"
"test:watch": "rstest -w",
"bump": "npx bumpp"
},

permissions:
contents: write
id-token: write
- name: Publish
uses: JS-DevTools/npm-publish@v4
with:
token: empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants